package com.ericsson.enap.modules.ebmLog.job.vgc;

import com.ericsson.common.quartz.job.MainJob;
import com.ericsson.common.quartz.job.ManualQuartzJob;
import com.ericsson.common.quartz.service.QuartzTableManager;
import com.ericsson.enap.modules.ebmLog.task.vgc.VgcEbmLogTask;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


/**
 * @description: 5gc Ebm多维分析
 * @author: wangjingshi
 * @create: 2021-11-08 15:11
 */
@Component
public class VgcEbmLogJob implements MainJob {

    //private Logger log = LoggerUtils.Logger(LogFileName.VgcEbmLogJob);
    @Autowired
    private QuartzTableManager quartzTableManager;
    @Autowired
    private VgcEbmLogTask vgcEbmLogTask;

    @Override
    public void doTask() {
        vgcEbmLogTask.execute();
        /*quartzTableManager.addManualTaskJob("vgcEbmLogTask","vgcEbmLogTask",
                "vgcEbmLogTask","vgcEbmLogTask",
                ManualQuartzJob.class,"0 0/15 * * * ?",vgcEbmLogTask);*/
    }

}
